<?php
class MenuComponent extends Object {
 
	var $mainMenu = null;
	function startup() {
		$this->mainMenu = array
		(
			"Dashboard"=>array("",'child'=>null),
			"Content"=>array("posts/index",'child'=>array(
							"Articles"=>"posts/index",
							"Categories"=>"categories/index",
							"Comments"=>"comments/index",
							"Pages"=>"pages/index",	
							"Partner_Links"=>"partner_links/index",
							"Comments"=>"comments/index",
							"Pages"=>"pages/index",		
							"Menu"=>"menus/index",	
							"Tags"=>"tags/index",
							"Polls"=>"polls/index",		
							"Banners"=>"banners/index",	
							"Albums"=>"albums/index"									
							)),		
			"Products"=>array("posts/index",'child'=>array(
							"Articles"=>"posts/index"	
							)),
			"Users"=>array("users/index",'child'=>array(
							"Users"=>"users/index",
							"Groups"=>"groups/index",
							"Set_Permissions"=>"permissions/index",	
							)),			
			"File_Manager"=>array("posts/index",'child'=>array(
							"articles"=>"posts/index"	
							)),	
			"Languages"=>array("posts/index",'child'=>array(
							"articles"=>"posts/index"	
							)),		
			"Templates"=>array("posts/index",'child'=>array(
							"articles"=>"posts/index"	
							)),			
			"Settings"=>array("settings/index",'child'=>array(
							"General"=>"settings/index"	
							)),	
			"Tools"=>array("online/index",'child'=>array(
							"Users_Online"=>"online/index",	
							"Visitor_Analytics"=>"analytics/index",
							"Log"=>"log/index"	
							)),																																					
		);
	}
	
	function getMenu(){
	
		if($this->mainMenu) return $this->mainMenu;
	}

}
